import numpy as np

# 一维矩阵
a = np.array([1,2,3])
print(a)
# 二维矩阵
b = np.array([[1,2,3],[4,5,6,]])
print(b)
# zeros矩阵
c = np.zeros((5,4,3),np.uint8)
print(c)
# ones矩阵
d = np.ones((4,4,3),np.uint8)
print(d)
# eye矩阵
e = np.eye(5)
print(e)
# full矩阵
f = np.full((5,4,3),8)
print(f)
# 创建了一个包含0到5的六个整数的numpy数组g
g = np.arange(6)
print(g)